package com.zzy.articlecomment.service;

import com.zzy.articlecomment.entity.Comment;
import org.springframework.data.domain.Page;

import java.util.List;

/**
 * @author 邹靓仔
 * @date 2020/4/24 -18:07 -article-comment
 **/
public interface CommentService {

    List<Comment> findAll();


    void saveComment(Comment comment);

    void updateComment(Comment comment);

    void deleteCommentById(String id);

    Comment findCommentById(String id);

    Page<Comment> findCommentListPageByParentid(String parentid, int page , int size);

    void updateCommentLikenumThumbup(String id);
}
